<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>PHP留言本程序</title>
    <link type="text/css" rel="stylesheet" href="./bootstrap-3.3.5/css/bootstrap.css"/>
    <script language="JavaScript" src="./bootstrap-3.3.5/js/jquery-2.0.3.min.js"></script>
    <script language="JavaScript" src="./bootstrap-3.3.5/js/bootstrap.js"></script>
    <style>
        body{
            padding-top:50px;
        }
        h1{
            text-align:center;
        }
    </style>
</head>
<body>

<div class="container">
    <h1>留言留言</h1>
    <form action="" method="post">
        <div class="form-group">
            <label for="exampleInputEmail1">用户昵称</label>
            <input type="text" class="form-control" id="exampleInputEmail1" placeholder="请输入你的昵称" name="nickname" value="<? echo $oldData['nickname']?>">
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">留言内容</label>
            <textarea name="content" class="form-control" id="" cols="30" rows="5"><? echo $oldData['content']?></textarea>
        </div>
        <button type="submit" class="btn btn-success">保存更改</button>
    </form>
</div>


</body>
</html>